﻿using SD.Infrastructure.DomainServiceBase;
using SlamDunk.MES.Domain.Entities.ResourceContext;
using SlamDunk.MES.Domain.Entities.StockContext;
using System.Collections.Generic;

namespace SlamDunk.MES.Domain.IDomainServices
{
    /// <summary>
    /// 物料条码领域服务接口
    /// </summary>
    public interface IMaterialBarcodeService : IDomainService<MaterialBarcode>
    {
        #region # 生成物料条码 —— ICollection<MaterialBarcode> GenerateMaterialBarcodes(Material material...
        /// <summary>
        /// 生成物料条码
        /// </summary>
        /// <param name="material">物料定义</param>
        /// <param name="materialLot">物料批次</param>
        /// <param name="quantity">物料数量</param>
        /// <returns>物料条码</returns>
        ICollection<MaterialBarcode> GenerateMaterialBarcodes(Material material, MaterialLot materialLot, decimal quantity);
        #endregion
    }
}
